package org.vincen.springapp.service.impl.diogenes;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.vincen.springapp.dao.diogenes.UserDao;
import org.vincen.springapp.domain.diogenes.User;
import org.vincen.springapp.service.diogenes.UserService;

import com.google.common.collect.Lists;

@Service("userService")
public class UserServiceImpl implements UserService{

	@Autowired
	private UserDao userDao;
	
	@Override
	public List<User> findUsers() {
		return Lists.newArrayList(userDao.findAll());
	}

	@Override
	public boolean deleteUser(int userId) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean saveUser(User user) {
		// TODO Auto-generated method stub
		return false;
	}

}
